Skip to content

Conversation

@floitsch
Copy link
Member

No description provided.

@floitsch floitsch requested a review from kasperl October 19, 2025 16:20
@cla-bot cla-bot bot added the cla-signed The contributors have signed the CLA label Oct 19, 2025
@floitsch floitsch marked this pull request as draft October 19, 2025 16:21
#ifdef CONFIG_IDF_TARGET_ESP32S3
range.address = reinterpret_cast<void*>(0x3fca0000);
range.size = 384 * KB;
#elif CONFIG_IDF_TARGET_ESP32P4
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need some help here. I have no idea what I'm doing...
Also, I think that the C3, C6, and S2 might need a different value too?

@floitsch
Copy link
Member Author

With the default configuration the esp32-p4 crashes immediately.
If I disable cmpct-malloc, it manages to run a bit.
However, It has a tendency to run out of memory:

Heap report @ out of memory in 'stack grow' 216:324:
  ┌───────────┬──────────┬─────────────────────────────────────────────────────┐
  │   Bytes   │  Count   │  Type                                               │
  ├───────────┼──────────┼─────────────────────────────────────────────────────┤
  └───────────┴──────────┴─────────────────────────────────────────────────────┘
  Total: 0 bytes in 0 allocations (0%), largest free 376k, total free 439k

It looks like there is memory, but Toit doesn't recognize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The contributors have signed the CLA

Development

Successfully merging this pull request may close these issues.

2 participants